home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / AvantBrowser / asetup.exe / _data / webkit / resources.pak / Unnamed File 000031.txt < prev    next >
Text File  |  2013-04-03  |  2KB  |  101 lines

  1. /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
  2.  * Use of this source code is governed by a BSD-style license that can be
  3.  * found in the LICENSE file. */
  4.  
  5. .bubble {
  6.   position: absolute;
  7.   white-space: normal;
  8.   /* Height is dynamic, width fixed. */
  9.   width: 300px;
  10.   z-index: 9999;
  11. }
  12.  
  13. .bubble-content {
  14.   color: black;
  15.   left: 1px;
  16.   line-height: 150%;
  17.   padding: 8px 11px 12px;
  18.   position: relative;
  19.   right: 1px;
  20.   top: 1px;
  21.   width: 298px;
  22.   z-index: 3;
  23. }
  24.  
  25. /* When the close button is there, we need more padding on the right of the
  26.  * bubble. */
  27. .bubble-close:not([hidden]) ~ .bubble-content {
  28.   -webkit-padding-end: 22px;
  29. }
  30.  
  31. .bubble-close {
  32.   background-image: no-repeat 50% 50%;
  33.   height: 16px;
  34.   position: absolute;
  35.   right: 6px;
  36.   top: 6px;
  37.   width: 16px;
  38.   z-index: 4;
  39. }
  40.  
  41. html[dir='rtl'] .bubble-close {
  42.   left: 6px;
  43.   right: auto;
  44. }
  45.  
  46. .bubble-close {
  47.   background-image: -webkit-image-set(
  48.       url('../../../../../ui/resources/default_100_percent/close_bar.png') 1x);
  49. }
  50.  
  51. .bubble-close:hover {
  52.   background-image: -webkit-image-set(
  53.       url('../../../../../ui/resources/default_100_percent/close_bar_hover.png')
  54.           1x,
  55.       url('../../../../../ui/resources/default_200_percent/close_bar_hover.png')
  56.           2x);
  57. }
  58.  
  59. .bubble-close:active {
  60.   background-image: -webkit-image-set(
  61.     url('../../../../../ui/resources/default_100_percent/close_bar_pressed.png')
  62.         1x,
  63.     url('../../../../../ui/resources/default_200_percent/close_bar_pressed.png')
  64.         2x);
  65. }
  66.  
  67. .bubble-shadow {
  68.   bottom: -2px;
  69.   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  70.   left: 0;
  71.   position: absolute;
  72.   right: 0;
  73.   top: 0;
  74.   z-index: 1;
  75. }
  76.  
  77. .bubble-arrow {
  78.   -webkit-transform: rotate(45deg);
  79.   box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.15);
  80.   height: 15px;
  81.   position: absolute;
  82.   width: 15px;
  83.   z-index: 2;
  84. }
  85.  
  86. .bubble-content,
  87. .bubble-arrow {
  88.   background: white;
  89. }
  90.  
  91. .bubble-shadow,
  92. .bubble-arrow {
  93.   border: 1px solid rgba(0, 0, 0, 0.3);
  94. }
  95.  
  96. .bubble-shadow,
  97. .bubble-content {
  98.   border-radius: 6px;
  99.   box-sizing: border-box;
  100. }
  101.